import request from '@/utils/request'

// 查询问卷选项列表
export function listDcwjWjTk(query) {
  return request({
    url: '/msg/dcwjWjTk/list',
    method: 'get',
    params: query
  })
}

// 查询问卷选项详细
export function getDcwjWjTk(id) {
  return request({
    url: '/msg/dcwjWjTk/' + id,
    method: 'get'
  })
}

// 新增问卷选项
export function addDcwjWjTk(data) {
  return request({
    url: '/msg/dcwjWjTk',
    method: 'post',
    data: data
  })
}

// 修改问卷选项
export function updateDcwjWjTk(data) {
  return request({
    url: '/msg/dcwjWjTk',
    method: 'put',
    data: data
  })
}

// 删除问卷选项
export function delDcwjWjTk(id) {
  return request({
    url: '/msg/dcwjWjTk/' + id,
    method: 'delete'
  })
}
